<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<!DOCTYPE>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <!-- seo 搜索引擎优化设置 -->
    <meta name="keywords" content="onlineMsg,信息平台,短信">
	<meta name="description" content="onlineMsg - 信息平台">
    <title>onlineMsg - 信息平台</title>
  </head>
  <body>
   
   <input  type="hidden"  value="${pageContext.request.contextPath}"  id="path">
   
   <!-- 登录权限限制 -->
   <c:if test="${empty loginUser}">
   		<script type="text/javascript">window.location="login.html";</script>
   </c:if>
   
   
   <div class="layui-header">
        <div class="layui-logo">onlineMsg-信息平台 <span class="bars"><i class="fa fa-bars" aria-hidden="true"></i> </span></div>
        <!--用户登录信息-->
        <ul class="layui-nav layui-layout-right">
            <!--平板PC显示-->
            <li class="layui-nav-item one">
                <a href="javascript:;">
                    <img src="${pageContext.request.contextPath}/statics/images/${loginUser.photo}" class="layui-nav-img user_photo">
                    [${loginUser.username}]
                </a>
                <dl class="layui-nav-child one">
                    <dd><a href="userinfo.html">基本资料</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item one"><a href="logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出</a></li>

            <!--手机上显示-->
            <li class="layui-nav-item tow layui-hide">
                <a href="javascript:;"><img src="${pageContext.request.contextPath}/statics/images/${loginUser.photo}" class="layui-nav-img">[${loginUser.username}]</a>
                <dl class="layui-nav-child"> <!-- 二级菜单 -->
                    <dd><a href="userinfo.html">基本资料</a></dd>
                    <dd><a href="logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出</a></dd>
                </dl>
            </li>
        </ul>

    </div>
   
  </body>
</html>
